
import Vue from 'vue'
import App from './App.vue'
// 引入Ant
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
Vue.use(Antd);



// 引入路由
import router from '@/router'
Vue.use(router)

Vue.config.productionTip = false


new Vue({
  render: h => h(App),
  // 注册路由
  router,
  beforeCreate() {
    Vue.prototype.$bus = this
  }
}).$mount('#app')
